package com.woniuxy.credit_loans.mapper;

import com.woniuxy.credit_loans.entity.SysRole;
import com.woniuxy.credit_loans.staff_dong.dto.RoleDto;

import java.util.List;

/**
* @author donghang
* @description 针对表【sys_role(sys_role)】的数据库操作Mapper
* @createDate 2022-12-06 12:05:35
* @Entity com.woniuxy.credit_loans.entity.SysRole
*/
public interface SysRoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    List<SysRole> selAll();

    List<Integer> selCheck(Integer empId);

    int insertRole(RoleDto roleDto);

    int deleteByEmpId(Long empId);

}
